﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SelectedAssetCtl.ascx.cs" Inherits="AMSInventoryWeb.UserControls.SelectedAssetCtl" %>
<%@ Register Assembly="VitCode.Web.UI.PaginationGrid" Namespace="VitCode.Web.UI"
    TagPrefix="PaginationGrid" %>
<%@ Register Assembly="VitCode.Web.UI.ConditionSelector" Namespace="VitCode.Web.UI"
TagPrefix="cc1" %>
<asp:HiddenField ID="hdnClassName" runat="server" />
<asp:HiddenField ID="hdnTypeName" runat="server" />
<asp:HiddenField ID="hdnKeyVal" runat="server" />

<table width="100%"  style="border: 1px solid #A8CFEB; margin-top: 4px;">
    <tr style="border: 1px solid #A8CFEB; background-color: #F1F6FF; margin-top: 2px;
            width: 100%; height:100%; font-size: 12px;">
        <td>
            <asp:Label ID="lblSelColName" runat="server">查询条件：</asp:Label><asp:DropDownList ID="ddlCondition"
                        runat="server">
                    </asp:DropDownList>
                    <asp:TextBox ID="txtValue" runat="server" Width="136px"></asp:TextBox><asp:RadioButton
                        ID="rbtAmount" runat="server" Text="匹配" GroupName="1"></asp:RadioButton><asp:RadioButton
                            ID="rbtLike" runat="server" Text="模糊" GroupName="1" Checked="True"></asp:RadioButton>&nbsp;&nbsp;
                    <asp:Button ID="btnQuery" runat="server" OnClick="btnQuery_Click" class="btn_mouseout"
                        onmouseover="this.className= 'btn_mouseover' " onmouseout="this.className= 'btn_mouseout' "
                        onmousedown="this.className= 'btn_mousedown'" Text="查    询" />&nbsp;
                    <cc1:ConditionSelector ID="ConditionSelector1" runat="server" 
                OnSelectCondition="ConditionSelector1_SelectCondition" ButtonClassName="btn_mouseout" 
                        onmousedownjs="this.className= 'btn_mousedown'" 
                        onmouseoutjs="this.className= 'btn_mouseout'" 
                        onmouseoverjs="this.className= 'btn_mouseover'" 
                FieldSourceGrid="pgList" />&nbsp;
                <asp:Button ID="btnDelete" runat="server" Text="删    除" class="btn_mouseout"
                        onmouseover="this.className= 'btn_mouseover' " onmouseout="this.className= 'btn_mouseout' "
                        onmousedown="this.className= 'btn_mousedown'" 
                onclick="btnSelect_Click" ToolTip="删除当前记录集中的待盘资产"  />
                &nbsp;
                <asp:Button ID="btnClear" runat="server" Text="清除全部" class="btn_mouseout"
                        onmouseover="this.className= 'btn_mouseover' " onmouseout="this.className= 'btn_mouseout' "
                        onmousedown="this.className= 'btn_mousedown'" onclick="btnClear_Click" 
                 />
        </td>
    </tr>
    <tr>
        <td>
            <PaginationGrid:PaginationGrid ID="pgList" runat="server" 
                onongriditemselect="pgList_OnGridItemSelect" DataPaginationMode="Customize">
            </PaginationGrid:PaginationGrid>
        </td>
    </tr>
</table>

 


